FileClose command

Syntax
FileClose refNum

Description
Closes a file opened with FileOpen.

Examples
Variable theFile, theData, refNum
theFile = (FindFolder "desk") & "FileIO Demo"
File(theFile).Text = "This is some text in the FileIO Demo file."
refNum = FileOpen theFile
theData = FileRead refNum, "all"
FileClose refNum
Message theData

See Also
Using the FileIO extension (page 136)

Author Info
FileClose, part of FileIO Extension
Copyright © 1998 Life OnLine Software (lr). All rights reserved.